Colin Yates [Tue, 26 Jan 2016 12:47:58 +0000 (12:47 +0000)]
Trivial fix correcting SpacEmacs
justbur [Mon, 18 Jan 2016 01:55:04 +0000 (20:55 -0500)]
Add which-key-idle-secondary-delay
Allows the delay time to be different for popups that follow an initial
popup within the same key sequence.
justbur [Mon, 11 Jan 2016 14:56:49 +0000 (09:56 -0500)]
Fix problem with side-window dimension calculation
The fringes were not being included in version 24. This makes the
calculation consistent with the left/right side-window calculation and
fixes #97.
justbur [Mon, 21 Dec 2015 17:12:29 +0000 (12:12 -0500)]
Fix C-h prompt for show-keymap commands
justbur [Mon, 21 Dec 2015 00:36:05 +0000 (19:36 -0500)]
Fix undo for show-keymap
justbur [Sun, 20 Dec 2015 22:18:22 +0000 (17:18 -0500)]
Distinguish using-show-keymap
justbur [Sun, 20 Dec 2015 20:54:53 +0000 (15:54 -0500)]
Allow traversal of keymaps in new commands
justbur [Sun, 20 Dec 2015 20:38:38 +0000 (15:38 -0500)]
Filter out empty keymaps in new functions
justbur [Sun, 20 Dec 2015 20:31:57 +0000 (15:31 -0500)]
Add which-key-show-minor-mode-keymap
Version of which-key-show-keymap that only looks in minor-mode-map-alist
justbur [Sun, 20 Dec 2015 18:19:16 +0000 (13:19 -0500)]
Add which-key-show-keymap
Basic version of this command that only shows the top-level of a keymap.
Waiting for feedback on how this should work.
justbur [Thu, 17 Dec 2015 14:27:22 +0000 (09:27 -0500)]
New stable version
justbur [Fri, 11 Dec 2015 20:29:59 +0000 (15:29 -0500)]
Ignore evil-state bindings
These are the fake keys that evil uses to store maps under
justbur [Fri, 11 Dec 2015 01:03:48 +0000 (20:03 -0500)]
Merge branch 'master' of https://github.com/justbur/emacs-which-key
justbur [Fri, 11 Dec 2015 01:02:58 +0000 (20:02 -0500)]
Add which-key-init-buffer-hook
Justin Burkett [Wed, 9 Dec 2015 21:23:48 +0000 (16:23 -0500)]
Merge pull request #91 from Amorymeltzer/prefix-prefix-doc
Document which-key-prefix-prefix
Amory Meltzer [Wed, 9 Dec 2015 21:19:23 +0000 (13:19 -0800)]
Document which-key-prefix-prefix
https://github.com/justbur/emacs-which-key/commit/
30bc0c224bac091fcf2759c8e8853e7237196090
justbur [Wed, 9 Dec 2015 01:24:23 +0000 (20:24 -0500)]
Allow custom prefix-prefix
Suggested in #90. Thanks @Amorymeltzer
justbur [Sun, 6 Dec 2015 18:29:25 +0000 (13:29 -0500)]
Tweak display of key sequence in one case
This is for the C-h commands when the which-key message is not shown in
the echo area but the echo-keystrokes prefix is
justbur [Sun, 6 Dec 2015 18:16:05 +0000 (13:16 -0500)]
echo-keystrokes should never be nil
The correct test is to test if it's 0.
justbur [Sat, 5 Dec 2015 17:37:29 +0000 (12:37 -0500)]
Preserve prefx-arg when paging
justbur [Fri, 4 Dec 2015 20:34:17 +0000 (15:34 -0500)]
Work on handling prefix args better
justbur [Fri, 4 Dec 2015 19:21:17 +0000 (14:21 -0500)]
Make C-h command hint respect C-h-map commands
justbur [Fri, 4 Dec 2015 01:51:52 +0000 (20:51 -0500)]
Merge branch 'master' of https://github.com/justbur/emacs-which-key
justbur [Fri, 4 Dec 2015 01:49:43 +0000 (20:49 -0500)]
Don't abort key seq after unbound key in C-h-map
Allows to recover from accidentally pressing C-h.
This commit also fixes some echo area problems that become apprent after
introducing the C-h-map stuff
Justin Burkett [Thu, 3 Dec 2015 17:10:47 +0000 (12:10 -0500)]
Clarify C-h commands description in readme
justbur [Thu, 3 Dec 2015 16:15:19 +0000 (11:15 -0500)]
Fix top-level note and satisfy compiler
justbur [Thu, 3 Dec 2015 13:44:14 +0000 (08:44 -0500)]
Add C-h commands to what's new in readme
Still need to update the rest of the content
justbur [Thu, 3 Dec 2015 13:33:56 +0000 (08:33 -0500)]
Fix note on right and add abort keys
justbur [Thu, 3 Dec 2015 13:10:50 +0000 (08:10 -0500)]
Fix undo and timer usage
justbur [Thu, 3 Dec 2015 03:27:08 +0000 (22:27 -0500)]
Introduce C-h command dispatch function
Replace role of show-next-page with C-h-dispatch which immediately reads
a key and calls a command from C-h-map, which may be one of several
paging commands, a command to undo the last keypress, or a command to
directly access describe-prefix-bindings.
This commit does not include documenting these changes in the readme.
Note that several options become deprecated here as they no longer have
the same (if any effect).
justbur [Tue, 1 Dec 2015 16:53:02 +0000 (11:53 -0500)]
Remove dependencies from README
justbur [Tue, 1 Dec 2015 01:58:48 +0000 (20:58 -0500)]
Cleanup make-text-button call
justbur [Mon, 30 Nov 2015 23:43:09 +0000 (18:43 -0500)]
Fix return value problem for make-text-button
Apparently in versions before 24.5 the return value was not always the
button itself when a string was used as the argument
justbur [Mon, 30 Nov 2015 18:47:27 +0000 (13:47 -0500)]
Merge branch 'grammati'
justbur [Mon, 30 Nov 2015 18:26:19 +0000 (13:26 -0500)]
Use safe version of string-width
justbur [Mon, 30 Nov 2015 16:23:50 +0000 (11:23 -0500)]
Use key-description for canonical keys
This takes the idea in the previous commit and translates the
representations of keys in the alists to be the output of
key-description. The issue is that `M-x` for example has two
representations with listify-key-sequence, but only one (it seems) from
key-description.
Chris Perkins [Sat, 28 Nov 2015 18:15:21 +0000 (11:15 -0700)]
Display prefix names in terminal-mode
When running emacs in a terminal (or at least, in iTerm), keys are not
passed through to emacs the same way that they are in graphical mode.
For example, M-m (important in spacemacs) is the key-sequence
`[
134217837]` in graphical emacs, but `[27 109]` ("ESC m") in terminal.
The variable `which-key-prefix-name-alst` only has a mapping for the
former (the
134217837), and so the names of submenus all show up as
"+prefix", limiting discoverability.
This commit converts the key sequence into a canonical form (eg:
converts `[27 109]` into `[
134217837]`) in
`which-key--maybe-replace-prefix-name`, so that the prefixes are found.
I think some work is probably needed for
`which-key-prefix-title-alist` too, but I'm not entirely sure what
that's used for, so I didn't mess with it.
justbur [Fri, 20 Nov 2015 20:40:16 +0000 (15:40 -0500)]
Add README note about last commit
justbur [Fri, 20 Nov 2015 20:23:40 +0000 (15:23 -0500)]
Show docstring on hover in echo area for commands
justbur [Fri, 20 Nov 2015 11:34:01 +0000 (06:34 -0500)]
Fix mistake in reverting defaults
Ref
9dd0ceaaabe6b4ac5f3268747b6103fb04d65e5f
Accidentally changed the side window location instead of the show-prefix
one.
Justin Burkett [Fri, 20 Nov 2015 11:31:17 +0000 (06:31 -0500)]
Merge pull request #87 from cute-jumper/master
Fix the value of `which-key-side-window-location'
Junpeng Qiu [Fri, 20 Nov 2015 03:52:43 +0000 (22:52 -0500)]
Fix the value of `which-key-side-window-location'
justbur [Thu, 19 Nov 2015 03:04:29 +0000 (22:04 -0500)]
Check for nil as a binding in previous commit
justbur [Thu, 19 Nov 2015 03:00:14 +0000 (22:00 -0500)]
Provide alternate prefix-title for echo area
justbur [Thu, 19 Nov 2015 02:48:27 +0000 (21:48 -0500)]
Forgot line in last commit
justbur [Thu, 19 Nov 2015 02:44:11 +0000 (21:44 -0500)]
Revert change in default of side-window-bottom
Not happy with the look of it yet, even though it's probably better to
avoid the echo area
justbur [Thu, 19 Nov 2015 01:57:51 +0000 (20:57 -0500)]
Automatically close popup when prefix goes away
It was necessary to hit C-g twice to close the popup before this change.
justbur [Thu, 19 Nov 2015 01:24:23 +0000 (20:24 -0500)]
Provide alternative for prefix-title
If echo-keystrokes is non nil, we're showing in the bottom window, and
the prefix is shown in the top or bottom line, there's not much reason
to show the prefix again since it's so close to the echo area.
justbur [Wed, 18 Nov 2015 19:58:35 +0000 (14:58 -0500)]
Fix spacing in last commit
justbur [Wed, 18 Nov 2015 19:57:01 +0000 (14:57 -0500)]
Mention new show-prefix option and format README
justbur [Wed, 18 Nov 2015 18:36:51 +0000 (13:36 -0500)]
Add show-prfx 'bottom and change top-level msg
'bottom is a "safer" default because it's impossible to control the echo
area completely, so the message gets wiped out occasionally.
Use prefix-titles for the top-level bindings message, since top-level is
not really a key
justbur [Wed, 18 Nov 2015 15:49:23 +0000 (10:49 -0500)]
Ignore key translations only at top-level
C-x 8 is a valid place to put translations for example
justbur [Wed, 18 Nov 2015 15:21:49 +0000 (10:21 -0500)]
Option to remove default unicode characters
Justin Burkett [Wed, 18 Nov 2015 10:26:06 +0000 (05:26 -0500)]
Merge pull request #86 from syohex/byte-compile-warnings
Fix byte compile warnings
Syohei YOSHIDA [Wed, 18 Nov 2015 03:55:56 +0000 (12:55 +0900)]
Use bound-and-true-p for byte compile warning
Syohei YOSHIDA [Wed, 18 Nov 2015 03:54:31 +0000 (12:54 +0900)]
Move definition position for byte-compile warning
justbur [Wed, 18 Nov 2015 02:50:55 +0000 (21:50 -0500)]
Sort character ranges properly
Fix #85
justbur [Tue, 17 Nov 2015 03:31:10 +0000 (22:31 -0500)]
Make special-key matching case sensitive
justbur [Tue, 17 Nov 2015 03:13:16 +0000 (22:13 -0500)]
Refactor sorting functions and move fn keys up
justbur [Tue, 17 Nov 2015 03:02:18 +0000 (22:02 -0500)]
Silence warnings for obsolete function
justbur [Tue, 17 Nov 2015 02:57:59 +0000 (21:57 -0500)]
Turn on case-sensitivity in replacements
Should avoid situations like #84
justbur [Tue, 17 Nov 2015 01:13:58 +0000 (20:13 -0500)]
Satisfy compiler
justbur [Mon, 16 Nov 2015 21:17:10 +0000 (16:17 -0500)]
Bring in new describe-buffer-bindings parsing func
based on similar function in helm-descbinds. This parses the output of
describe-buffer-bindings line by line, and is easier to follow and
manipulate than the previous one that uses complicated regexp
expressions.
justbur [Mon, 16 Nov 2015 02:39:33 +0000 (21:39 -0500)]
Mention show-top-level in the README
justbur [Fri, 13 Nov 2015 18:05:28 +0000 (13:05 -0500)]
Minor stylistic changes to previous pr
Iqbal Ansari [Fri, 13 Nov 2015 16:08:16 +0000 (21:38 +0530)]
Ignore self-insert-command bindings
Iqbal Ansari [Fri, 13 Nov 2015 03:23:24 +0000 (08:53 +0530)]
Include keybindings of the form 'a .. z' in which key popup
Iqbal Ansari [Fri, 13 Nov 2015 02:51:47 +0000 (08:21 +0530)]
Use `set-temporary-overlay-map` to setup paging keys for toplevel popup
Iqbal Ansari [Sat, 10 Oct 2015 13:08:08 +0000 (18:38 +0530)]
Manually flush headings for keybindings
Iqbal Ansari [Sat, 10 Oct 2015 13:07:04 +0000 (18:37 +0530)]
Allow function key bindings to be displayed in toplevel help
Iqbal Ansari [Sat, 10 Oct 2015 12:35:09 +0000 (18:05 +0530)]
Add a command to popup toplevel bindings
Iqbal Ansari [Sat, 10 Oct 2015 12:35:00 +0000 (18:05 +0530)]
Fix some minor bugs
Iqbal Ansari [Sat, 10 Oct 2015 12:34:02 +0000 (18:04 +0530)]
Improve regexp to match toplevel bindings
Iqbal Ansari [Thu, 8 Oct 2015 03:11:52 +0000 (08:41 +0530)]
Change code to handle nil which-key--current-prefix
This would happen when viewing toplevel bindings
justbur [Fri, 13 Nov 2015 17:03:26 +0000 (12:03 -0500)]
Fix sort order of function keys
justbur [Fri, 13 Nov 2015 13:55:20 +0000 (08:55 -0500)]
Don't use face for prefix if using echo area
With some themes the switch from the text from echo-keystrokes with no
face to the which-key text with a face is annoying.
justbur [Thu, 12 Nov 2015 18:29:42 +0000 (13:29 -0500)]
Bump minor version
justbur [Thu, 12 Nov 2015 18:23:59 +0000 (13:23 -0500)]
Add option to pad key columns on the left
Allows you to make more space between the columns if you think the
layout is too tight.
justbur [Wed, 4 Nov 2015 01:26:48 +0000 (20:26 -0500)]
Fix #79
Explicitly set word-wrap in which-key buffer. Fix unicode correction
justbur [Wed, 4 Nov 2015 01:03:29 +0000 (20:03 -0500)]
Add example of adding Unicode replacements in README
Thanks @epitzer for the suggestion.
https://github.com/justbur/emacs-which-key/issues/52
justbur [Fri, 30 Oct 2015 01:06:48 +0000 (21:06 -0400)]
Don't show help hint for evil operators
Paging and help doesn't work for these, so don't offer
justbur [Fri, 30 Oct 2015 00:51:09 +0000 (20:51 -0400)]
Add option to show popup for evil operators
Default is to enable if evil is loaded before which-key. Otherwise, it
is disabled.
justbur [Thu, 29 Oct 2015 02:52:28 +0000 (22:52 -0400)]
Add melpa stable banner
justbur [Thu, 22 Oct 2015 13:59:36 +0000 (09:59 -0400)]
Don't warn when same cons is added to alist twice
justbur [Tue, 20 Oct 2015 13:26:07 +0000 (09:26 -0400)]
Move sorting functions and add to readme
justbur [Sun, 18 Oct 2015 23:48:04 +0000 (19:48 -0400)]
Better choices for built-in functions
Thanks @xuchunyang!
justbur [Sun, 18 Oct 2015 18:15:48 +0000 (14:15 -0400)]
Cleanup previous commit
justbur [Sun, 18 Oct 2015 17:31:11 +0000 (13:31 -0400)]
Remove dash.el dependency
justbur [Sun, 18 Oct 2015 16:31:40 +0000 (12:31 -0400)]
Remove s.el dependency
justbur [Thu, 15 Oct 2015 14:52:48 +0000 (10:52 -0400)]
Satisfy compiler for golden-ratio-mode
justbur [Fri, 9 Oct 2015 01:59:40 +0000 (21:59 -0400)]
Preliminary support for undo
justbur [Thu, 8 Oct 2015 12:16:26 +0000 (08:16 -0400)]
Add new sort function for testing
This is a variation on key order, which uses alphabetical sorting for
characters, putting lowercase before uppercase.
@syl20bnr
justbur [Wed, 7 Oct 2015 13:01:28 +0000 (09:01 -0400)]
Fix problem with two locations for side-window
Can't always reuse the same window in this case when we go to a deeper
set of keybindings, because we may need to switch sides.
justbur [Wed, 7 Oct 2015 02:05:23 +0000 (22:05 -0400)]
Switch to defun in last commit
justbur [Wed, 7 Oct 2015 01:55:48 +0000 (21:55 -0400)]
Add new sort function
As suggested by @hmelman, sort by whether a key is a prefix or not (no
prefix takes priority) then by key.
justbur [Tue, 6 Oct 2015 14:25:32 +0000 (10:25 -0400)]
Bump version to 0.6.2
justbur [Mon, 5 Oct 2015 11:29:56 +0000 (07:29 -0400)]
readme: Remove what's new and add dependency note
Justin Burkett [Sat, 3 Oct 2015 18:38:00 +0000 (14:38 -0400)]
Merge pull request #71 from justbur/refactor
Refactor
justbur [Sat, 3 Oct 2015 18:22:29 +0000 (14:22 -0400)]
Remove comment
justbur [Sat, 3 Oct 2015 17:41:00 +0000 (13:41 -0400)]
Refactor show-next-page